package com.atguigu.exam;

/**
 * @author xbd
 * @create 2021-05-26 20:29
 */
public class WeekTestPus {
    public static void main(String[] args) {
        weeken dayone = weeken.TUESDAY;
        System.out.println(dayone);
        System.out.println("***********");
        weeken[] daymany = weeken.values();
        for (int i = 0; i < daymany.length; i++) {
            System.out.println(daymany[i]);
        }
    }
}

enum weeken{
    MONDAY(),
    TUESDAY(),
    WEDNESDAY(),
    THURSDAY(),
    FRIDAY(),
    SATURDAY(),
    SUNDAY();

    private final String plans;

    weeken() {
        this.plans = "every day desc";
    }
}